package com.jhgsys.internal.accident.service;

import com.jhgsys.internal.accident.entity.AccidentReportInkuryUser;
import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *  Service接口
 *
 * @author zjb
 * @date 2024-09-13 10:27:18
 */
public interface IAccidentReportInkuryUserService extends IService<AccidentReportInkuryUser> {
    /**
     * 查询（分页）
     * @author zjb
     * @date 2024-09-13 10:27:18
     * @param request QueryRequest
     * @param accidentReportInkuryUser accidentReportInkuryUser
     * @return IPage<AccidentReportInkuryUser>
     */
    IPage<AccidentReportInkuryUser> findAccidentReportInkuryUserPage(QueryRequest request, AccidentReportInkuryUser accidentReportInkuryUser);

    /**
     * 查询（所有）
     * @author zjb
     * @date 2024-09-13 10:27:18
     * @param accidentReportInkuryUser accidentReportInkuryUser
     * @return List<AccidentReportInkuryUser>
     */
    List<AccidentReportInkuryUser> findAccidentReportInkuryUserList(AccidentReportInkuryUser accidentReportInkuryUser);

    /**
    * 根据ID查询
    * @author zjb
    * @date 2024-09-13 10:27:18
    * @param id
    * @return AccidentReportInkuryUser
    */
    AccidentReportInkuryUser findAccidentReportInkuryUserById(String id);

    /**
     * 新增
     * @author zjb
     * @date 2024-09-13 10:27:18
     * @param accidentReportInkuryUser accidentReportInkuryUser
     */
    boolean createAccidentReportInkuryUser(AccidentReportInkuryUser accidentReportInkuryUser);

    /**
     * 修改
     * @author zjb
     * @date 2024-09-13 10:27:18
     * @param accidentReportInkuryUser accidentReportInkuryUser
     */
    boolean updateAccidentReportInkuryUser(AccidentReportInkuryUser accidentReportInkuryUser);

    /**
     * 逻辑删除
     * @author zjb
     * @date 2024-09-13 10:27:18
     * @param accidentReportInkuryUser accidentReportInkuryUser
     * @param accidentReportInkuryUserIds accidentReportInkuryUserIds
     */
    boolean deleteAccidentReportInkuryUser(AccidentReportInkuryUser accidentReportInkuryUser,String accidentReportInkuryUserIds);

    /**
    * 物理删除
    * @author zjb
    * @date 2024-09-13 10:27:18
    * @param accidentReportInkuryUserIds accidentReportInkuryUserIds
    */
    boolean physicallyDeleteAccidentReportInkuryUser(String accidentReportInkuryUserIds);

    /**
     * 根据事故报告id删除
     * @author admin
     * @date 2024-08-14 09:56:15
     * @param reportIds
     */
    void deleteByReportIds(String reportIds);
}
